package com.learning.cloud.feign;

import com.learning.config.TestConfiguration2;
import feign.Param;
import feign.RequestLine;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * description:
 *
 * @author minghuiZhang
 * @date created in  17:55 2018/5/2
 * modified by
 */
@FeignClient(value = "xxxx",url = "http://localhost:8761/",configuration = TestConfiguration2.class)
public interface UserFeignClient2 {
	@RequestMapping(value = "/eureka/apps/{serviceName}",method = RequestMethod.GET)
	String findServiceInfoFromEurekaByServiceName(@PathVariable("serviceName") String serviceName);



}
